package org.example.myleet.p385;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("-3".equals(solution.deserialize("-3").toString()));
        Assert.isTrue("324".equals(solution.deserialize("324").toString()));
        Assert.isTrue("[123,[456,[789]]]".equals(solution.deserialize("[123,[456,[789]]]").toString()));
        Assert.isTrue("[123,124,[125],[456,[789]]]".equals(solution.deserialize("[123,124,[125],[456,[789]]]").toString()));
    }
}
